package emP;
public class TeestPerson {
    public static void main(String[] args) {
        Manager manager = new Manager("1号", 25, "111");
        System.out.println(manager.toString());
        manager.salary();
        System.out.println();
        Salesman salesman = new Salesman("2号", 28, "222", 5000, 100000);
        System.out.println(salesman.toString());
        salesman.salary();
    }
}















